<script>
	export default {
		onLaunch: function() {
			// console.warn('当前组件仅支持 uni_modules 目录结构 ，请升级 HBuilderX 到 3.1.0 版本以上！')
			// console.log('App Launch')
		},
		onShow: function() {
			// console.log('App Show')
		},
		onHide: function() {
			// console.log('App Hide')
		},
		globalData:{
			cityNameStart:'北京',
			cityNameEnd:'上海',
			FlightList:[],    // 航班信息
			firstInfo:[],      // 第一程信息
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "./styles/iconfont.wxss";
	@import "./styles/base.wxss";
	
	button::after{
		border: none;
	}
	.input-box {
		padding: 50upx;
		font-size: 30upx;
		.input-item {
			display: flex;
			background: white;
			border-bottom: 1upx solid #eeeeee;
			line-height: 100upx;
			height: 100upx;
			.input-label {
				width: 150upx;
			}
			.input-body{
				position: relative;
				height: 100upx;
				width: calc(100% - 150upx);
				.input {
					line-height: 100upx;
					height: 100upx;
					position: relative;
					font-size: 28upx;
				}
				.eye{
					position: absolute;
					height: 50upx;
					width: 50upx;
					right: 0;
					top: 50%;
					transform: translateY(-50%);
				}
				.btn-code{
				    position: absolute;
				    right: 0upx;
				    top:50%;
				    transform: translateY(-50%);
					background: none;
					color: #205592;
					width: 160upx;
					font-size: 24upx;
					box-sizing: border-box;
					text-align: right;
					padding: 0;
					height: 100upx;
					line-height: 100upx;
				}
			}
			
		}
		.select {
			padding-top: 40upx;
			display: flex;
			justify-content: space-between;
			color: #003B67;
		}
	}
	// .button{
	// 	margin:0 30upx;
	// 	background: #08B6F2;
	// 	border-radius:50upx;
	// 	line-height: 80upx;
	// 	height: 80upx;
	// 	color: white;
	// 	font-size: 32upx;
	// }
	
	.button {
	    width: 90%;
	    font-size: 16px;
	    font-weight: 600;
	    color: #fff;
	    cursor: pointer;
	    margin: 20px;
	    height: 42px;
	    text-align:center;
	    border: none;
	    background-size: 300% 100%;
	
	    border-radius: 50px;
	    moz-transition: all .4s ease-in-out;
	    -o-transition: all .4s ease-in-out;
	    -webkit-transition: all .4s ease-in-out;
	    transition: all .4s ease-in-out;
	}
	
	.button:hover {
	    background-position: 100% 0;
	    moz-transition: all .4s ease-in-out;
	    -o-transition: all .4s ease-in-out;
	    -webkit-transition: all .4s ease-in-out;
	    transition: all .4s ease-in-out;
	}
	
	.button:focus {
	    outline: none;
	}
	
	.button.color-1 {
	    background-image: linear-gradient(to right, #25aae1, #4481eb, #04befe, #3f86ed);
	        box-shadow: 0 4px 15px 0 rgba(65, 132, 234, 0.75);
	}
</style>
